x86/hvm: use white-lists for HVM param guest accessibility checks
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 7 May 2015 13:08:43 +0000 (15:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 7 May 2015 13:08:43 +0000 (15:08 +0200)
commit30efda12d63ff536102ed8e580b4c09765683b44
tree63ba6be1029208f34e307202251ac30da6dbb3ca
parentec9f99e1be5b05988b50b9fd6145e242c2daa5a9
x86/hvm: use white-lists for HVM param guest accessibility checks

There are actually very few HVM parameters that a guest needs to read
and even fewer that a guest needs to write. Use white-lists to specify
those parameters and also ensre that, by default, newly introduced
parameters are not accessible.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c